﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="user.aspx.cs" Inherits="weikebuluo.web.admin.user.user" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <title>IdeaSoft软件</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="Keywords" content="IdeaSoft软件" />
    <meta name="Description" content="IdeaSoft软件微信" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/bootstrap.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/bootstrap.responsive.min.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/style.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/themes.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/todc_bootstrap.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/inside.css" />
    <link rel="stylesheet" type="text/css" href="/css/Bootstrap/resource.css" />
    <link rel="stylesheet" type="text/css" href="/Scripts/KindEditor/themes/default/default.css" />
    <script type="text/javascript" src="/Scripts/JQuery.min.js"></script>
    <script type="text/javascript" src="/Scripts/Bootstrap.min.js"></script>
    <script type="text/javascript" src="/Scripts/JQuery.form.min.js"></script>
    <script type="text/javascript" src="/Scripts/JQuery.validate.min.js"></script>
    <script type="text/javascript" src="/Scripts/JQuery.validate.methods.js"></script>
    <script type="text/javascript" src="/Scripts/resource.js"></script>
    <script type="text/javascript" src="/Scripts/JQuery.cookie.js"></script>
    <script type="text/javascript" src="/Scripts/Inside.js"></script>
    <script type="text/javascript" src="/Scripts/UploadImg.js"></script>
    <script type="text/javascript" src="/Scripts/KindEditor/kindeditor-min.js"></script>
    <script type="text/javascript" src="/Scripts/KindEditor/lang/zh_CN.js"></script>
    
    <!--[if IE 7]>
            <link href="/css/Bootstrap/font_awesome_ie7.css" rel="stylesheet" />
        <![endif]-->
    <!--[if lte IE 8]>
            <script src="/Scripts/excanvas_min.js"></script>
        <![endif]-->
    <!--[if lte IE 9]>
            <script src="/Scripts/watermark.js"></script>
        <![endif]-->
    <style type="text/css">
        option
        {
            padding: 5px;
        }
    </style>
</head>
<body>
    <div id="main" >
        <div class="container-fluid">
            <div class="row-fluid">
                <div class="span12">
                    <div class="box">
                        <div class="box-title">
                            <div class="span10">
                                <h3>
                                    <i class="icon-edit"></i>用户编辑</h3>
                            </div>
                            <div class="span2">
                                <a class="btn" href="Javascript:window.history.go(-1)">返回</a></div>
                        </div>
                        <form action="user.aspx" method="post" class="form-horizontal form-validate">
                             <input name="action" value="upd" style="display: none;" />

                        <%if (Request.QueryString["id"] != null)
                          { %>
                        <input name="id" value="<%=Request.QueryString["id"]%>" style="display: none;" />
                        <%} %>
                        <%if (Request.QueryString["user_id"] != null)
                          { %>
                        <input name="user_id" value="<%=Request.QueryString["user_id"]%>" style="display: none;" />
                        <%} %>
                        <div class="box-content">
                            

                            <div class="control-group">
                                <label class="control-label" for="username">
                                    用户名</label>
                                <div class="controls">
                                    <input type="text" name="username" id="username" value="<%=usermodel.user_name %>"
                                        class="input-medium" data-rule-required="true" data-rule-maxlength="50"/>
                                    <span class="maroon">*</span> <span class="help-inline">长度为6~16位字符，可以为“数字/字母/中划线/下划线”组成</span>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label" for="password">
                                    设置密码</label>
                                <div class="controls">
                                    <input type="password" name="password" id="password" value="" />
                                    <span class="maroon">*</span><span class="help-inline">长度为6~16位字符</span>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label" for="repassword">
                                    确认密码</label>
                                <div class="controls">
                                    <input type="password" name="repassword" id="repassword" value="" />
                                    <span class="maroon">*</span><span class="help-inline">长度为6~16位字符</span>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label" for="phone">
                                    手机号码</label>
                                <div class="controls">
                                    <input type="text" name="phone" id="phone" value="<%=usermodel.user_phone %>" class="input-medium"
                                        data-rule-required="true" data-rule-maxlength="50"/>
                                    <span class="maroon">*</span><span class="help-inline">请输入正确的手机号码</span>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label" for="email">
                                    邮箱</label>
                                <div class="controls">
                                    <input type="text" name="email" id="email" value="<%=usermodel.user_email %>" class="input-medium"
                                        data-rule-required="true" data-rule-maxlength="50"/>
                                    <span class="maroon">*</span><span class="help-inline">邮箱将与支付及优惠相关，请填写正确的邮箱</span>
                                </div>
                            </div>

                            <div class="control-group">
                                <label class="control-label" for="qq">
                                    QQ</label>
                                <div class="controls">
                                    <input type="text" name="qq" id="qq" value="<%=usermodel.user_qq %>" class="input-medium"
                                        data-rule-required="true" data-rule-maxlength="50"/>
                                </div>
                            </div>
                           
                            <div class="control-group">
                                <div class="controls">
                                    <button type="submit" id="reg-btn" class="btn btn-large btn-primary">
                                        保存修改</button>

                                     <button type="button" class="btn" onclick="window.history.go(-1);">
                                    取消</button>
                                </div>
                            </div>

                           


                        </div>
                        
                        </form>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <div id="fallr-overlay">
    </div>
</body>
</html>
